package code.jam.view;

import android.app.Dialog;
import android.content.Context;
import android.view.WindowManager;

public class dialog extends Dialog
{	
	LoadingView view = null;
	
	public dialog(Context context) 
	{
		super(context);
		
		view = new LoadingView( context );
		
		setContentView( view );
		
		getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);

		
	}
	
	public void start()
	{
		view.start();
	}
	
	public void stop()
	{
		view.stop();
	}

	@Override
	protected void onStop() 
	{
		view.stop();
		
		super.onStop();
	}
}

